#!/bin/bash
# 详细诊断脚本

echo "=== 详细诊断加密解密问题 ==="

# 编译详细测试工具
echo "1. 编译详细测试工具..."
make step > /dev/null 2>&1

if [ $? -ne 0 ]; then
    echo "✗ 编译失败"
    exit 1
fi

echo "✓ 编译成功"

# 运行详细测试
echo ""
echo "2. 运行详细测试..."
./bin/step_test

echo ""
echo "=== 详细诊断完成 ==="